home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / bbs / dlmst251.zip / DOSWDW.H < prev    next >
Text File  |  1992-08-09  |  1KB  |  20 lines

  1. /**********************************************************************
  2. *  the following code comes from DOSWDW by Edward V. Dong, a Turbo C  *
  3. *  implementation of EXECWINDOW by Kim Kokkonen, TurboPower Software, *
  4. *  which was released to the public domain.                           *
  5. *                                                                     *
  6. *  don't forget to temporarily comment out the original declaration   *
  7. *  for setvect() in the DOS.H file                                    *
  8. **********************************************************************/
  9. void     _Cdecl setvect (int interruptno, void *isr);
  10.  
  11. void    interrupt doswdw(void);         /* DOS window routine */
  12. void    far DoDosWdw(int xleft,int ytop,int xrite,int ybottom,int attrib,char *cmd);
  13. void    setup21(int NumberOfRows);      /* doswdw() setup routine */
  14. void    far *oldint21 = NULL;           /* to save the old int 21h vector */
  15. void    far *newint21 = &doswdw;        /* points to doswdw() */
  16. int     wdwpos,         /* cursor position in window */
  17.     wdwupr,         /* top right corner */
  18.     wdwlwr;         /* bottom left corner */
  19. char    wdwattr;        /* desired attribute */
  20.